package com.lee.dynamic.config;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static com.lee.dynamic.config.DataSourceType.SLAVE;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface MasterSlave
{
    DataSourceType value() default SLAVE;
}